#!/usr/bin/python3.8.9
# -*- coding: utf-8 -*-

# @Author  : Tina Yu
# @Time    : 2021-7-21 21:26


def get_formatted_name(first, last, middle=''):
    """生成简洁的姓名"""
    if middle:
        full_name = f'{first} {middle} {last}'
    else:
        full_name = f'{first} {last}'

    return full_name.title()
